Natural Language Processing and Query Construction

ABSTRACT

A system, computer program product, and method are provided to leverage a taxonomy service to format ground truth data. An artificial intelligence platform processes ground truth data, including identification of one or more applicable taxonomy tags. The identified tags are filtered and applied to the ground truth data, thereby constructing an output string that incorporates the ground truth data together with one or more of the identified tags, effectively transforming the ground truth data. Application of the transformed ground truth data is employed to accurately identify the source and/or meaning of the natural language, and in one embodiment, to product a physical action or transformation of a physical hardware device.

BACKGROUND

The present embodiment(s) relate to natural language processing. Morespecifically, the embodiment(s) relate to an artificial intelligenceplatform to augment data with an associated taxonomy classification.

In the field of artificial intelligent computer systems, naturallanguage systems (such as the IBM Watson™ artificial intelligentcomputer system and other natural language question answering systems)process natural language based on knowledge acquired by the system. Toprocess natural language, the system may be trained with data derivedfrom a database or corpus of knowledge, but the resulting outcome can beincorrect or inaccurate for a variety of reasons relating to thepeculiarities of language constructs and human reasoning.

Machine learning, which is a subset of Artificial intelligence (AI),utilizes algorithms to learn from data and create foresights based onthis data. AI refers to the intelligence when machines, based oninformation, are able to make decisions, which maximizes the chance ofsuccess in a given topic. More specifically, AI is able to learn from adata set to solve problems and provide relevant recommendations. AI is asubset of cognitive computing, which refers to systems that learn atscale, reason with purpose, and naturally interact with humans.Cognitive computing is a mixture of computer science and cognitivescience. Cognitive computing utilizes self-teaching algorithms that usedata minimum, visual recognition, and natural language processing tosolve problems and optimize human processes.

Cognitive systems are inherently non-deterministic. Specifically, dataoutput from cognitive systems are susceptible to information providedand used as input. For example, as new machine learning models aredeployed there is no guarantee that the system will extract the sameentities as done previously. New models may adversely affect prior modelresults. Similarly, an error introduced through a document may result inextracting incorrect data and providing the incorrect data as output.Accordingly, there is a need to create deterministic behavior in thecognitive system(s).

SUMMARY

The embodiments include a system, computer program product, and methodfor natural language processing directed at deterministic data forcognitive systems.

In one aspect, a computer system is provided with a processing unitoperatively coupled to memory, and an artificial intelligence platform,in communication with the processing unit. A knowledge engine isprovided in communication with the processing unit and functions totransform ground truth (GT) data by the artificial intelligenceplatform. More specifically, the knowledge engine constructs a trainingmodule to identify one or more taxonomy tags related to an ontology pathof the GT data, and executes the constructed training module. Theexecution applies the identified taxonomy tags to the GT, which includesappending the identified tags to the GT. In addition, the knowledgeengine constructs a query in the form of a string of the GT with one ormore of the identified taxonomy tags prepended to the string. The queryincludes at least one synset and an immediate hypernym to an ontologypath of the GT data.

In another aspect, a computer program device is provided to processnatural language (NL). The computer program product comprising acomputer readable storage device having program code embodied therewith.The program code is executable by a processing unit to transform groundtruth (GT) data by the artificial intelligence platform. Thetransformation includes program code to construct a training module toidentify one or more taxonomy tags related to an ontology path of the GTdata, and execute the constructed training module to apply theidentified taxonomy tags to the GT, including appending the identifiedtags to the GT. Program code is further provided to construct a query inthe form of creating a string of the GT with one or more of theidentified taxonomy tags prepended to the string. The query includes atleast one synset and an immediate hypernym to an ontology path of the GTdata.

In yet another aspect, a method is provided for processing naturallanguage, including transforming ground truth (GT) data by an artificialintelligence platform. A training module is constructed to identify oneor more taxonomy tags related to an ontology path of the GT data. Thetraining module is executed, with the execution including application,of the identified taxonomy tags to the GT, which further includesappending the identified tags to the GT. A query is constructedleveraging the training module. The query includes a string of the GTwith one or more of the identified taxonomy tags prepended to thestring. More specifically, the query includes at least one synset and animmediate hypernym to an ontology path of the GT data.

These and other features and advantages will become apparent from thefollowing detailed description of the presently preferred embodiment(s),taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The drawings reference herein forms a part of the specification.Features shown in the drawings are meant as illustrative of only someembodiments, and not of all embodiments, unless otherwise explicitlyindicated.

FIG. 1 depicts a system diagram illustrating a schematic diagram of anatural language process system.

FIG. 2 depicts a flow chart illustrating an overview of ground truth(GT) data augmentation.

FIG. 3 depicts a flow chart illustrating a process for augmenting GTdata.

FIG. 4 depicts a block diagram illustrating an example of raw datasubject to an initial process and threshold assessment for creatingtraining data.

FIG. 5 depicts a flow chart illustrating a process for assessing anyprocessing improvements from the augmented training data.

FIG. 6 depicts a flow chart illustrating a process for creating thewhitelist of tags.

FIG. 7 depicts a flow chart illustrating a process for creating finalground truth that may be applied to train an artificial intelligenceplatform.

FIG. 8 depicts a flow chart illustrating a process for augmenting arun-time query.

FIG. 9 depicts a flow chart illustrating a process for processing GTdata in relation to a physical hardware device.

DETAILED DESCRIPTION

It will be readily understood that the components of the presentembodiments, as generally described and illustrated in the Figuresherein, may be arranged and designed in a wide variety of differentconfigurations. Thus, the following details description of theembodiments of the apparatus, system, method, and computer programproduct of the present embodiments, as presented in the Figures, is notintended to limit the scope of the embodiments, as claimed, but ismerely representative of selected embodiments.

Reference throughout this specification to “a select embodiment,” “oneembodiment,” or “an embodiment” means that a particular feature,structure, or characteristic described in connection with the embodimentis included in at least one embodiments. Thus, appearances of thephrases “a select embodiment,” “in one embodiment,” or “in anembodiment” in various places throughout this specification are notnecessarily referring to the same embodiment.

The illustrated embodiments will be best understood by reference to thedrawings, wherein like parts are designated by like numerals throughout.The following description is intended only by way of example, and simplyillustrates certain selected embodiments of devices, systems, andprocesses that are consistent with the embodiments as claimed herein.

Taxonomy is the science of classification according to a pre-determinedsystem, with a resulting catalog used to provide a conceptual frameworkfor analysis of information retrieval. In one embodiment, the taxonomymay be referred to as a collection of controlled vocabulary termsorganized into a hierarchical structure. A controlled vocabulary is alist of standardized terminology for use in indexing and retrieval ofinformation. The development of a taxonomic classification separateselements of a group into sub-groups. More specifically, taxonomicclassification enables categorization according to a topic andassociated information retrieval. The taxonomic classification, andspecifically the topic, provides an understanding and intent for theclassified information. With respect to machine learning and naturallanguage processing, taxonomic classification functions as a model tounderstanding unstructured data. Once a classification is derived andattached to unstructured data, the data is essentially converted intostructured data, also referred to herein as knowledge.

Ground truth (GT) is a term used in machine learning that refers toinformation provided by direct observation, e.g. empirical evidence, asopposed to information provided by inference. Attaching one or moretaxonomy tags to GT data provides structure and meaning to the data.Referring to FIG. 1, a schematic diagram of a natural languageprocessing system (100) is depicted. As shown, a server (110) isprovided in communication with a plurality of computing devices (180),(182), (184), (186), and (188) across a network connection (105). Theserver (110) is configured with a processing unit (112) operativelycoupled to memory (114) across a bus (116). A tool in the form of aknowledge engine (170) is shown local to the server (110), andoperatively coupled to the processing unit (112) and/or memory (114). Asshown, the knowledge engine (170) contains one or more tools (172)-(174)and one or more application program interfaces (APIs) (178). The tools(172)-(174) and API(s) (176) provide natural language (NL) processingover the network (105) from one or more computing devices (180), (182),(184), (186), and (188). More specifically, the computing devices (180),(182), (184), (186), and (188) communicate with each other and withother devices or components via one or more wires and wireless datacommunication links, where each communication link may comprise one ormore wires, routers, switches, transmitters, receivers, or the like. Inthis network arrangement, the server (110) and the network connection(105) may enable natural language processing and augmentation of GT datafor one or more users of content. Other embodiments of the server (110)may be used with components, system, sub-systems, and/or devices otherthan those depicted herein.

The tools, including the knowledge engine (170), or in one embodiment,the tools embedded therein, including the training module (174), or thetools operatively coupled to the knowledge engine (170) including arun-time manager (172), may be configured to receive input from varioussources, including but not limited to input from the network (105)and/or a data store (160). The one or more NL APIs (176) function as ataxonomy service to process GT data, also referred to herein as raw textdata.

The various computing devices (180), (182), (184), (186), and (188) incommunication with the network (105) demonstrate access points forcontent creators and content uses. Some of the computing devices mayinclude a corpus of data as a body of information used by the knowledgeengine (170), and in one embodiment the tools (172)-(174), to embedstructure to the GT data. The network (105) may include local networkconnections and remote connection in various embodiments, such that theknowledge engine (170) and tools (172)-(174) may operate in environmentsof any size, including local and global, e.g. the Internet.

The data store is provided with a library or storage unit (162) ofindependent lines of GT data. As shown in this example, library,library₀, (162) has multiple lines of GT data referred to herein as GT₀(164 _(A)), GT₁ (164 _(B)), GT₂ (164 _(C)) . . . GT_(N) (164 _(N)). Thequantity of lines of GT data in the library (162) should not beconsidered limiting. The knowledge engine (170) communicates with ataxonomy service to support an initial processing of each of the lines.In one embodiment, the taxonomy service is local to the server (110) andrepresented at (190). Similarly, in one embodiment, the taxonomy serviceis provided across the network (105) and is supported by one of thevarious computing devices (180), (182), (184), (186), and (188). Theinitial process selectively identifies taxonomy tags for the lines of GTdata. The knowledge engine (170) augments the processed lines of GT.More specifically, the knowledge engine (170) re-formats each of theprocessed lines of GT with the identified tags. In one embodiment, eachidentified tags is a string that is pre-pended to the processed line. Asshow, a second library, library₁ (166), is shown local to the data store(160). The processed lines are shown in the second library (166) withthe tags attached to the original GT line data referred to herein asGT_(P0) (166 _(A)), GT_(P1) (166 _(B)), GT_(P2) (166 _(C)) . . . GT_(PN)(166 _(N)). Accordingly, the knowledge engine (160) processes the linesof GT data through a taxonomy service, and preliminarily transforms GTdata with identified tags.

To assess an initial value added from the taxonomy processing andpreliminary GT data transformation, the knowledge engine (170) conductsan analysis to quantify or identify any value added. More specifically,the knowledge engine (170) analyzes the original lines of GT data inlibrary₀ (162), and also analyzes the preliminarily transformed GT datain library₁ (166). In one embodiment, the analysis of the data in thelibraries (162) and (166) is conducted separately. By conducting theseparate analysis, the knowledge engine (160) quantifies performanceadded to the augmented data. For example, the analysis may categorizethe analyzed tags, e.g. high performance, neutral, low performance,etc., and selectively remove a tag in the low performance category. Theresults of the analysis conducted by the knowledge engine (170) are anassessment of value added to the GT with one or more taxonomy tagsattached. The training module (174) is utilized to filter the taxonomytags attached to the GT. Whether a line of GT contains one tag ormultiple tags, the training module (174) leverages the value assessmentconducted by the knowledge engine (170) to selectively filter theapplied and evaluated tags. The run-time manager (172) is providedoperatively coupled to the training module (174) and the knowledgeengine (170). The run-time manager (172) functions to format the queryafter the analysis has concluded. More specifically, the run-timemanager (172) constructs the query comprised of one or more of thetaxonomy tags that have been filtered by the training module (174), andformats the query with the constructed output string. In one embodiment,the training module (172) processes two or more tags and retains atleast one applicable tag to be pre-pending to the GT data. In oneembodiment, at least two tags remain following the filtering with one ofthe tags being a synset and one of the tags being an immediate hypernymto an ontology path of the GT data.

The tags remaining after the filtering process has concluded arepre-pended to the GT data and form a constructed query, and in oneembodiment, the GT data with the pre-pending output string is stored inthe data store. In one embodiment, the modified GT data via the trainingmodule (174) replaces the equivalent data in library₁ (166).Accordingly, any low performance tags should have been omitted orremoved through a preliminary augmentation of the output string prior topre-pending to a final GT data augmentation stored in the data store(160).

As shown and described, a training module (174) is utilized by theknowledge engine to analyze and filter the tag to create an optimalpre-pending line of GT data. In one embodiment, the knowledge engine(170) constructs the string with the GT and the prepended taxonomytag(s) as represented in the second library, library₁, (166). A furtherassessment of the modified GT data is directed at assessment ofconfidence. More specifically, the training module (172) is employed bythe knowledge engine (170) to apply the identified tags for the GT datato a confidence assessment. The training module (174) may utilize astatic parameter for the assessment, or in one embodiment, the trainingmodule (174) may utilize a configurable parameter for the assessment.

The library, library₀ , (164) is shown with multiple taxonomy tags,including GT₀ (164 _(A)), GT₁ (164 _(B)), GT₂ (164 _(C)) . . . GT_(N)(164 _(N)). Although a limited quantity of taxonomy tags are shown, thisquantity should not be considered limiting. The library (164) isoperatively coupled to the training module (174), thereby enabling andfacilitating utilization of the taxonomy tags with respect to GT dataprocessing. It is understood that the population of taxonomy tags in thelibrary (164) should be directed at optimizing GT data. In oneembodiment, there may be an over-population of the library, which wouldnecessitate or benefit from removal of one or more taxonomy tags.Similarly, in one embodiment, the library (164) may benefit fromretaining those tags that enhance the GT data, which may includeremoving one or more select tags from the library. The knowledge engine(170) functions as a manager to control the population of taxonomy tagsstored in the library (164), which in one embodiment, includes removingone or more tags that have been determined to negative impactperformance of the GT data optimization and processing. Accordingly, theknowledge engine (170) functions as oversight to the library (164) tocontrol population of the taxonomy tags.

As shown and described below ground truth data is processed andeffectively transformed into knowledge through augmentation. Referringto FIG. 2, a flow chart (200) is provided to illustrate the overview ofground truth (GT) data augmentation. As shown, the initial aspect isdirected at processing GT data with one or more general concepts from ataxonomy, or a taxonomy service, (210). Details of the GT augmentationprocess are shown and described in FIG. 3. Following the initial GTprocessing, the GT data is subject to an analysis (220), includingcomparison of the data in its original form with the processed GT data.Details of the analysis are shown and described in FIG. 5. Output fromthe analysis yields an indication of the benefits associated with thepreliminary GT data augmentation. This output is utilized for training,and specifically for constructing a library of beneficial GT dataaugmentation (230). Details of the library construction are shown anddescribed in FIG. 6. Steps (210)-(230) may be referred to herein aspreliminary aspects of the GT data augmentation. Following the libraryconstruction at step (230), the library is utilized to generate a finalGT augmentation of the data, including constructing a string to prependto the GT data, effectively creating a formatted GT (240). In oneembodiment, the final augmentation takes place in real-time. Details ofthe final GT augmentation are shown and described in FIG. 7.Accordingly, a library is created and utilized to appropriately filterand format data in order to provide context to unstructured data.

Referring to FIG. 3, a flow chart (300) is provided illustrating aprocess for augmenting GT data. Ground truth data, also referred toherein as raw data, is submitted to a taxonomy service for processing,and specifically to detect all possible taxonomy tags that are presentand may be applicable to the GT data. The variable X_(Total) is assignedto the quantity of lines of raw data subject to processing by a taxonomyservice (302). Although, in one embodiment, the raw data is merelystreamed to the taxonomy service. An associated line counting variable,X, is initialized (304). For each line of raw data, line_(X), alltaxonomy tags that meet or exceed a threshold that are present inline_(X) are identified (306). The quantity of identified tags isassigned to the variable Y_(Total) (308). The threshold is employed as afilter to limit application of tags. In one embodiment, the threshold isa configurable value and reflects a confidence value in the tag and itsattachment to the raw data. The confidence value functions as aconfigurable filter to remove or otherwise exclude obviously bad resultsthat have a low confidence. More specifically, the confidence valuelimits presence of noise in the results, and in one embodiment isimportant for training. As demonstrated below in FIG. 8, the confidencevalue is also employed during run time. In one embodiment, theconfidence value employed during training is stricter in comparison tothe confidence value employed during run-time. A tag counting variable,Y, is initialized (310), which is implemented on a line basis or on thetotality of raw data subject to processing. After the line of data hasbeen initially processed, it is determined if there is at least one tagapplied to the line, line_(X), of data (312). A negative response to thedetermination at step (312) is followed by incrementing the linecounting variable (314) and further determining if all of the lines ofdata have been subject to the initial processing (316). A negativeresponse to the determination at step (316) is followed by a return tostep (306), and a positive response is followed by conclusion of theinitial GT augmentation process (318).

At shown at step (312), if at least one tag is identified in view of thethreshold, then the raw data, or more specifically, line_(X) of the rawdata, is subject to reformatting. For example, line_(X) is re-formattedwith tag_(Y) (320). In one embodiment, the identified tag, tag_(Y), isprepended to line_(X) of the raw data, thereby creating an augmentedline of GT. Following step (320), the tag counting variable isincremented for line_(X) (322), and it is determined if all of theidentified tags subject to the threshold have been evaluated(324). Anegative response to the determination at step (324) is followed by areturn to step (320) for continued processing of the tags in line_(X),and a positive response is followed by a return to step (314) toevaluate processing any other lines of raw data. In one embodiment,there may be two or more tags attached to a single line of raw data, andan ordering is applied to the prepending. For example, in oneembodiment, the tags are prepended in alphabetical order, although thisorder is not limiting, and other sorting and ordering algorithms may beapplied. It is understood that the order of the prepended tags may becritical to a natural language processing system, and as such, theordering of multiple tags for a single line of GT in training datashould be applied in the same way as the tags would be ordered for aquery at run-time. Accordingly, the initial GT augmentation process isdirected at an initial confidence threshold and application ofidentified tags to the raw data to create tagged GT data for training.

Referring to FIG. 4, a block diagram (400) is provided illustrating anexample of raw data subject to an initial process and thresholdassessment for creating training data. The phrase (402) demonstratessample raw data, which in one embodiment as also referred to as a lineof raw data. Three sets of taxonomy tags are identified by a taxonomyservice and are subject to a confidence threshold assessment. As shownherein each set of tags has a separate confidence score and assessment.Specifically, tag₀ (420) is shown with confidence score₀ (422) andconfidence assessment₀ (424); tag₁ (430) is shown with confidence score₂(432) and confidence assessment₂ (434); and tag₂ (440) is shown withconfidence score₂ (442) and confidence assessment₂ (444). The tags thatwill remain attached for the training data are the tags that have anassessed value that meets or exceeds the threshold value. For example,in the example shown herein if the confidence assessment value is 10percent, then tag₀ (420) and tag₁ (430) remain and tag₂ (440) is removedfrom consideration. The remaining tags, tag₀ (420) and tag₁ (430), areprepended to the phrase (402). If in one embodiment, the confidenceassessment value is 25 percent, e.g. below a set threshold, then onlytag₀ (420) will remain and be prepended to the phrase (402).Accordingly, the threshold value functions as a filter in application ofone or more tags to augment the training data.

It is understood that the creation of the augmented GT data from FIG. 3may create a processing burden. Specifically, processing irrelevant tagsutilizes resources that likely will produce false returns. One solutionto detect irrelevant tags that were applied during the GT trainingprocess is to compare query results from processing raw data andprocessing comparable training data. Referring to FIG. 5, a flow chart(500) is provided illustrating a process for assessing any processingimprovements from the augmented training data. At the outset there aretwo sets of data, including a first set identified as the original GTdata and a second set identified as tagged GT (502). Validation testingis separately conducted on each of the data sets. Namely, the validationtesting is conducted on the original GT data, also referred to as thefirst set, and separate validation is conducted on the tagged GT data,also referred to as the second set. The goal is to assess if performancehas been raised through the text augmentation. The validation for bothsets is conducted on a line-by-line basis. As such, a line countingvariable, X_(Total), is assigned to the number of lines of data subjectto evaluation (504), and an associated line counting variable isinitialized (506). For each line, line_(X), a value is assessed toreflect how the tag(s) affected performance (508). In one embodiment,there are three elements being assessed, including improvement, neutral,and deteriorate. Each line subject to evaluation can have zero of moretags present. The performance evaluation is not tag specific if thereare more than one tag present in the line. The functionality here is torecord and quantify the effect of tagged GT. Performance assessment isbased on precision and recall. The following pseudo code demonstratesthe line evaluation:

all_tags = list of unique tags across all the data for tag in all tags:    improve = 0     neutral = 0     deteriorate = 0 ra = results_tags[row] [“recall”] rb = results_orig [row] [“recall”] pa = results_tags[row] [“precision”] pb = results_orig [row] [“precision”] //mark the rowwith improve score//     If (ra>rb) and (pa>pb):         Improve += 1    If (ra = = rb) and (pa>pb):         Improve += 1     If (ra < rb)and (pa>pb):         Neutral += 1     If (ra>rb) and (pa<pb):        Improve += 1     If (ra = = rb) and (pa<pb):         Deteriorate+= 1     If (ra < rb) and (pa<pb):         Deteriorate += 1     If(ra>rb) and (pa==pb):         Improve += 1     If (ra = = rb) and(pa==pb):         Neutral += 1     If (ra < rb) and (pa==pb):        Deteriorate += 1

The pseudo code is applied for each line, e.g. row. As such, followingstep (508), the line counting variable, X, is incremented (510),followed by assessing if each of the lines have been evaluated (512).After each of the rows have been processed and cross validated, outputis created for the tags in the augment GT (514). The following pseudocode demonstrates the per-tag score output:

all_tags [tag] [improve] = improve all_tags [tag] [neutral] = neutralall_tags [tag] [deteriorate] = deteriorateThe per-tag scores reflects the total usages of the tag in the assessedlines indicating the number of occurrences that reflect a performanceimprovement, did nothing, or negatively impacted performance by beingincluded in the augmented GT. Accordingly, the assessment shown hereineffectively analyzes and quantifies the GT augmented data.

After the quantification in FIG. 5 is completed, a ‘whitelist’ of onlythose tags that bolster overall performance is created. In oneembodiment, the whitelist is a document that mentions a subset of tagsthat are deemed useful. It is understood that some tags may not havevalue, or their value is minimal. Removing under-performing tags fromthe whitelist improves performance associated with deployment.Similarly, removing tags that are determined to occur infrequently mayalso be removed from the whitelist. Logic is employed to determine whichtags should be included in the whitelist. In one embodiment, the logicis deployed in an automated manner. Similarly, in one embodiment, one ormore parameters employed by the logic to decide which tags to keep areconfigurable.

Referring to FIG. 6, a flow chart (600) is provided illustrating aprocess for creating the whitelist of tags. As shown, a per-tag scoretable is consulted (602). In one embodiment, the table is based on thetag quantification shown and described in FIG. 5. The table is subjectto filtering to remove tags that occur infrequently (604). In oneembodiment, the filter may remove tags that occur less than 0.1% of thetime, although this value is configurable. Similarly, in one embodiment,these tags may be referred to as noise. Of the remaining tags, only tagswith a low error rate are retained (606). In one embodiment, a value isapplied to the error rate at step (606) for filtering and removingfurther tags from the table. For example, the error rate may be appliedto tags with a default of 5%, although this error rate value isconfigurable. In one embodiment, the error rate may be set zero ifstringent control is required. In another embodiment, offensive orsensitive tags may be selectively removed from the table. Following step(606) the table has been selectively filtered to remove noise and lowvalue tags (608), effectively creating a whitelist. Accordingly, thefiltered table, also referred to herein as the whitelist, is populatedwith tags that have been assessed as useful for application to GT data.

Referring to FIG. 7, a flow chart (700) is provided illustrating aprocess for creating final ground truth that may be applied to train anartificial intelligence platform. This entails tagging the original GTdata with only those tags that are present in the whitelist and exceed adefined confidence threshold. In one embodiment, the GT data tagging issimilar to the process shown and described in FIG. 3 with logic employedto ensure each tag is present in the whitelist before proceeding withtagging each line. As shown, the original GT data and a definedwhitelist are provided for the augmentation process (702). Using ataxonomy, one or more appropriate taxonomy tags as related to the GTdata are identified (704). The variable N_(Total) is assigned to thequantity of identified tags (706), and an associated tag countingvariable, N, is initialized (708). For each tag, N, it is determined ifthe tag is a member of the whitelist and has a confidence score thatmeets or exceeds a threshold value (710). In one embodiment, theconfidence score is set at 0.75. Similarly, in one embodiment, theconfidence score is a configurable value. A positive response to thedetermination at step (710) is followed by retaining the tag, e.g.tag_(N), in the GT data (712), and a negative response is followed byremoving the tag from the GT data (714). Following either step (712) or(714), the tag counting variable, N, is incremented (716), and it isdetermined if all of the identified tags have been evaluated (718). Anegative response to the determination at step (718) is following by areturn to step (710). However, a positive response to the determinationat step (712) is followed by constructing a string to prepend to the GTdata (720) , effectively constructing final training data for theartificial intelligence platform. In one embodiment, each line of GTdata is reformatted with one or more identified tags that survive theevaluation at step (712), with the reformatting to prepend the tag(s) tothe GT data line. Accordingly, the whitelist is deployed to apply afiltered set of tags to the GT data.

As shown and described in FIGS. 2-7, one or more tags have beenidentified, filtered from the whitelist based on taxonomy confidence,and filtered from application to the GT data based on their absence fromthe whitelist. In one embodiment, the processes shown and described inFIGS. 2-7 are referred to as a training process in which tags were foundusing a taxonomy, one or more select tags were filtered out based ontaxonomy confidence, or in one embodiment, low confidence, one or moreselect tags were filtered out based on their absence from the whitelist,and the remaining tags were prepended as strings. Referring to FIG. 8, aflow chart (800) is provided illustrating application of augmenting arun-time query. As shown, using a taxonomy, one or more appropriatetaxonomy tags as related to the query are identified (802). The variableN_(Total) is assigned to the quantity of identified tags (804), and anassociated tag counting variable, N, is initialized (806). For each tag,N, it is determined if the tag is present in the whitelist and has aconfidence score that meets or exceeds a threshold value (808). In oneembodiment, the confidence score is set at greater than or equal to0.10. This process is similar to the filtering shown and described inthe training process, but with a different confidence threshold value.In one embodiment, a higher threshold is employed during training tothat the training is taking place on data associated with a highconfidence. The higher threshold filter out taxonomy results that areless than 70% confident, thereby erring on removing non-confident datafrom the model. However, during run-time, the goal is to be inclusive,and as such, in one embodiment, the threshold is set to a low confidencevalue to reflect and enable inclusive behavior. The low threshold willallow more taxonomy tags to enter by filtering fewer tags. Similar tothe training model, in one embodiment, the run-time confidence score isa configurable value. A positive response to the determination at step(808) is followed by retaining the tag, e.g. tag_(N), in the query(810), and a negative response is followed by removing the tag from thewhitelist (812). Following either step (810) or (812), the tag countingvariable, N, is incremented (814), and it is determined if all of theidentified tags have been evaluated (816). A negative response to thedetermination at step (816) is following by a return to step (808).However, a positive response to the determination at step (816) isfollowed by constructing a string to prepend to the query (818).Accordingly, the artificial intelligence query processing with adeployed whitelist returns string data with one or more prepended tagsto the query.

As shown and described in FIGS. 1-7, the identification and applicationof tags to GT data in the training process creates an appended queryduring run-time, as shown in FIG. 8. In one embodiment, the appendedquery, with the identified tags prepended, may be applied to a sortingalgorithm, which in one embodiment may cause an associated machine, e.g.hardware device, to perform an action. Referring to FIG. 9, a flow chart(900) is provided illustrating a process for processing data query inrelation to a physical hardware device. As shown, the query is received(902), one or more applicable tags are identified (904), and theapplicable tags are prepended to the query (906) thereby creating amodified query. Submission of the modified query results in a firsthardware device being actuated (908). This actuation at step (908) maycause the first hardware device to change states (910), e.g. from afirst state to a second state. Similarly, this actuation may result in asecond hardware device being actuated to perform a second action (912).In this example, the first and second hardware devices are different andthe corresponding actions are different. Submission of the modifiedquery with the prepended string(s) produces a physical action on ahardware device that is different in form and function from the physicalaction associated without the prepended string(s). For example, in oneembodiment, the query without the prepended string(s) and the query withthe prepended string may be assigned to different hardware devices, withthe strings identifying the physical hardware device. In one embodiment,the query without the prepended string(s) and the query with theprepended string may be assigned to the same physical hardware device,with actuation producing different physical output. Similarly, in oneembodiment, the query without the prepended string(s) and the query withthe prepended string may be addressed to different physical devices.Accordingly, as shown a physical intent from the modified query isconverted into a physical manifestation that produces one or morephysical transformation upon invocation of the query with the prependedstring(s).

The linguistic analysis processing shown and described in FIGS. 1-8 maybe performed by a natural language processing system, such as theinformation handling system shown in FIG. 1, or any suitable informationhandling system. In one embodiment, a sentence parsing tool is appliedto break the text representation into constituent parts to find thesentence parts and location sequence, and to identify a segment orkeyword within the representation.

Embodiments may be in the form of a system with an intelligent computerplatform for deciphering input content and identifying one or moreappropriate GT tags. A processing unit is operatively coupled to memoryand is in communication with an artificial intelligence platform. Atool, such as the knowledge engine (170) and/or run-time manager (172),also in communication with the processing unit, is employed to processthe GT data, identify one or more appropriate tags, and prepend theidentified tag(s) to the GT data upon activation by the artificialintelligence platform. The procedure of the natural language processingutilizes a natural language processing tool.

The system and flow charts shown herein may also be in the form of acomputer program device for use with an intelligent computer platform inorder to facilitate NL processing. The device has program code embodiedtherewith. The program code is executable by a processing unit tosupport the described functionality.

Embodiments may also be in the form of a computer program device for usewith an intelligent computer platform in order to assist the intelligentcomputer platform to evaluate text input of audio data. The device hasprogram code embodied therewith. The program code is executable by aprocessing unit to parse and/or evaluate text representation withrespect to a taxonomy or a taxonomy service.

It will be appreciated that there is disclosed herein a system, method,apparatus, and computer program product for evaluating natural languageinput, detecting one or more tags, and prepending one or more selectedtags to the natural language input. As disclosed, the system, method,apparatus, and computer program product apply natural languageprocessing to an information source, which in one embodiment, isoperatively coupled to and actuates a physical hardware device.

While particular embodiments have been shown and described, it will beobvious to those skilled in the art that, based upon the teachingsherein, changes and modifications may be made without departing from theembodiments and its broader aspects. Therefore, the appended claims areto encompass within their scope all such changes and modifications asare within the true spirit and scope of the embodiments. Furthermore, itis to be understood that the embodiments are solely defined by theappended claims. It will be understood by those with skill in the artthat if a specific number of an introduced claim element is intended,such intent will be explicitly recited in the claim, and in the absenceof such recitation no such limitation is present. For non-limitingexample, as an aid to understanding, the following appended claimscontain usage of the introductory phrases “at least one” and “one ormore” to introduce claim elements. However, the use of such phrasesshould not be construed to imply that the introduction of a claimelement by the indefinite articles “a” or “an” limits any particularclaim containing such introduced claim element to embodiments containingonly one such element, even when the same claim includes theintroductory phrases “one or more” or “at least one” and indefinitearticles such as “a” or “an”; the same holds true for the use in theclaims of definite articles.

The present embodiment(s) may be a system, a method, and/or a computerprogram product. In addition, selected aspects of the presentembodiment(s) may take the form of an entirely hardware embodiment, anentirely software embodiment (including firmware, resident software,micro-code, etc.) or an embodiment combining software and/or hardwareaspects that may all generally be referred to herein as a “circuit,”“module” or “system.” Furthermore, aspects of the present embodiment(s)may take the form of computer program product embodied in a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent embodiment(s). Thus embodied, the disclosed system, a method,and/or a computer program product are operative to improve thefunctionality and operation of a one or more physical hardware devicesor operating states thereof.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a dynamic or static random access memory(RAM), a read-only memory (ROM), an erasable programmable read-onlymemory (EPROM or Flash memory), a magnetic storage device, a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present embodiment(s) may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Java, Smalltalk, C++ or the like,and conventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server or cluster of servers. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider). In some embodiments, electronic circuitry including,for example, programmable logic circuitry, field-programmable gatearrays (FPGA), or programmable logic arrays (PLA) may execute thecomputer readable program instructions by utilizing state information ofthe computer readable program instructions to personalize the electroniccircuitry, in order to perform aspects of the present embodiment(s).

Aspects of the present embodiment(s) are described herein with referenceto flowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to the embodiment(s).It will be understood that each block of the flowchart illustrationsand/or block diagrams, and combinations of blocks in the flowchartillustrations and/or block diagrams, can be implemented by computerreadable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments. In this regard, each block in the flowchart or blockdiagrams may represent a module, segment, or portion of instructions,which comprises one or more executable instructions for implementing thespecified logical function(s). In some alternative implementations, thefunctions noted in the block may occur out of the order noted in thefigures. For example, two blocks shown in succession may, in fact, beexecuted substantially concurrently, or the blocks may sometimes beexecuted in the reverse order, depending upon the functionalityinvolved. It will also be noted that each block of the block diagramsand/or flowchart illustration, and combinations of blocks in the blockdiagrams and/or flowchart illustration, can be implemented by specialpurpose hardware-based systems that perform the specified functions oracts or carry out combinations of special purpose hardware and computerinstructions.

It will be appreciated that, although specific embodiments have beendescribed herein for purposes of illustration, various modifications maybe made without departing from the spirit and scope of theembodiment(s). In particular, the natural language processing may becarried out by different computing platforms or across multiple devices.Furthermore, the data storage and/or corpus may be localized, remote, orspread across multiple systems. Accordingly, the scope of protection ofthe embodiment(s) is limited only by the following claims and theirequivalents.

What is claimed is:
 1. A computer system comprising: a processing unitoperatively coupled to memory; an artificial intelligence platform, incommunication with the processing unit; a knowledge engine incommunication with the processing unit to transform ground truth (GT)data by the artificial intelligence platform, including: construct atraining module to identify one or more taxonomy tags related to anontology path of the GT data; the knowledge engine to execute theconstructed training module, and apply the identified taxonomy tags tothe GT, including append the identified tags to the GT; and theknowledge engine to construct a query, the query including a string ofthe GT with one or more of the identified taxonomy tags prepended to thestring, the query including at least one synset and an immediatehypernym to an ontology path of the GT data.
 2. The system of claim 1,wherein execution of the constructed training module further comprisingthe knowledge engine to apply the identified tags to a confidenceassessment.
 3. The system of claim 2, wherein the confidence assessmentutilizes a configurable parameter.
 4. The system of claim 1, furthercomprising a library operatively coupled to the training module, thelibrary to store a plurality of taxonomy tags.
 5. The system of claim 4,further comprising the knowledge engine to control a population oftaxonomy tags stored in the library.
 6. The system of claim 5, furthercomprising the knowledge engine to identify one or more tags stored inthe library that negatively impact performance, and remove theidentified tags from the library.
 7. The system of claim 1, furthercomprising a hardware device operatively coupled to the knowledgeengine, the hardware device to receive the constructed query, whereinsubmission of the query causes a physical action selected from the groupconsisting of: the hardware device to change states and actuation of asecond hardware device, and combinations thereof.
 8. A computer programproduct to process natural language (NL), the computer program productcomprising a computer readable storage device having program codeembodied therewith, the program code executable by a processing unit to:transform ground truth (GT) data by the artificial intelligenceplatform, including: construct a training module to identify one or moretaxonomy tags related to an ontology path of the GT data; execute theconstructed training module, and apply the identified taxonomy tags tothe GT, including append the identified tags to the GT; and construct aquery, the query including a string of the GT with one or more of theidentified taxonomy tags prepended to the string, the query including atleast one synset and an immediate hypernym to an ontology path of the GTdata.
 9. The computer program product of claim 8, wherein execution ofthe constructed training module further comprising program code to applythe identified tags to a confidence assessment.
 10. The computer programproduct of claim 9, wherein the confidence assessment utilizes aconfigurable parameter.
 11. The computer program product of claim 8,further comprising a library to store a plurality of taxonomy tags. 12.The computer program product of claim 11, further comprising programcode to control a population of taxonomy tags stored in the library. 13.The computer program product of claim 12, further comprising programcode to identify one or more tags stored in the library that negativelyimpact performance, and remove the identified tags from the library. 14.The computer program product of claim 8, further comprising a hardwaredevice operatively coupled to the computer readable storage device, thehardware device to receive the constructed query, wherein submission ofthe query causes a physical action selected from the group consistingof: the hardware device to change states and actuation of a secondhardware device, and combinations thereof.
 15. A method for processingnatural language, comprising: transforming ground truth (GT) data by anartificial intelligence platform, including: constructing a trainingmodule to identify one or more taxonomy tags related to an ontology pathof the GT data; executing the constructed training module, and applyingthe identified taxonomy tags to the GT, including appending theidentified tags to the GT; and constructing a query, the query includinga string of the GT with one or more of the identified taxonomy tagsprepended to the string, the query including at least one synset and animmediate hypernym to an ontology path of the GT data.
 16. The method ofclaim 15, wherein execution of the constructed training module furthercomprising applying the identified tags to a confidence assessment. 17.The method of claim 16, wherein the confidence assessment utilizes aconfigurable parameter.
 18. The method of claim 15, further comprisingstoring a plurality of taxonomy tags in an operatively coupled libraryand controlling a population of taxonomy tags stored in the library. 19.The method of claim 18, further comprising identifying one or more tagsstored in the library that negatively impact performance, and removingthe identified tags from the library.
 20. The method of claim 15 furthercomprising a hardware device operatively coupled to the artificialintelligence platform, the hardware device to receive the constructedquery, wherein submission of the query causes a physical action selectedfrom the group consisting of: the hardware device to change states andactuation of a second hardware device, and combinations thereof.